package com.ruoyi.zyt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专业信息对象 field
 * 
 * @author zyt
 * @date 2023-11-04
 */
public class Field extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 专业代码 */
    @Excel(name = "专业代码")
    private Long fieldId;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String name;

    /** 一级学科 */
    @Excel(name = "一级学科")
    private String upSub;

    /** 专业类 */
    @Excel(name = "专业类")
    private String type;

    public void setFieldId(Long fieldId) 
    {
        this.fieldId = fieldId;
    }

    public Long getFieldId() 
    {
        return fieldId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUpSub(String upSub) 
    {
        this.upSub = upSub;
    }

    public String getUpSub() 
    {
        return upSub;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fieldId", getFieldId())
            .append("name", getName())
            .append("upSub", getUpSub())
            .append("type", getType())
            .toString();
    }
}
